package com.fzn.spring5.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @program: spring5_demo4
 *     完全使用注解开发
 * 描述：EnableAspectJAutoProxy 开启代理对象扫描
 * @author: fzn
 * @create: 2022-02-27 13:06
 **/
@Configuration
@ComponentScan(basePackages = {"com.fzn.spring5"})
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class ConfigAop {
}